#include <iostream>
#include <jsoncpp/json/json.h>

int main()
{
    Json::Value root;
    root["name"] = "John";
    root["age"] = 30;
    std::cout << "JsonCpp message: " << std::endl;
    std::cout << root.toStyledString() << std::endl;
    return 0;
}